/*
* Copyright (c)  2017, ueboot.com
* All rights reserved.
* 2017-10-14 21:04:14
*/
package com.ueboot.weishop.admin.controller.activity.vo;


import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * Created by Neel  on 2017-10-14 21:04:14.
 *
 * @author yangkui
 * @since 2.0 by autocode
 */
@Data
@NoArgsConstructor
public class ActivityReq {

    private Long id;
    private String status;
    private String ruleDesc;
    private String name;
    private Date startTime;
    private Date endTime;
    private String remark;
    private String sn;
    private String type;
    private String groupCode;
    /**
     * 所属商品ID
     */
    private Long goodsInfoId;
    /**
     * 活动属性
     */
    private List<ActivityAttrReq> attrReqList;

    /**
     * 秒杀活动 参数 --开始
     */
    /**
     * 每个人可以秒杀的份数
     */
    private Integer limitCopies;
    /**
     * 限购的方式，值为NONE时不限购
     * 取值：OPENID|VIN|MOBILE
     *
     */
    private String limitType;
    /**
     *  秒杀时可以秒杀的总数量
     */
    private Integer seckillProvideCopies;
    /**
     * 秒杀时商品金额
     */
    private Integer seckillPrice;

    /**
     * 限时折扣活动 参数  --开始
     */
    private Integer discountValue;
    private Integer discountMinusPrice;
    private Integer discountOriginPrice;
    /**
     * 众筹活动 参数 --开始
     */
    private Integer crowdUnit;
    private Integer crowUnitPrice;
    private Integer crowGoalCount;
    private Integer crowActualCount;


    /**
     * 代金券活动参数
     */
    private String couponProjectCode;
    private Integer couponAmount;
    private Integer couponActualCount;
    private String couponCustomerType;
    private Date couponStartDate;
    private Date couponEndDate;

    private String stockCountType;

}